package com.java.service;

import java.util.List;

import com.java.pojo.ComDept;
import com.java.pojo.ComEmp;

public interface IDeptService {
public int getDeptNum();
public List<ComDept> getDeptListByPage(int start,int offset);
public ComDept getDeptById(int id);
public String deleteDeptLog(int id);
public String updateDeptLog(ComDept cd);
public List<ComDept> getDeptByEmp(String manager);
public ComDept getDeptByName(String name);
public ComEmp getEmpByName(String name);
public String addDeptLog(ComDept cd,String manager);
public List<ComEmp> getAllEmpInDept();
public List<ComDept> getAllDept();
public ComEmp getEmpById(int eid);
}
